package com.cloud.hotline.api.entity;

import java.util.Date;
import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name = "to_hotline_unit_record")
public class ToHotlineUnitRecord {
	@Id
	@Column(name = "record_id")
	private Integer recordId;

	@Column(name = "yessw_num")
	private String yesswNum;

	@Column(name = "report_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date reportTime;

	@Column(name = "street_name")
	private String streetName;

	@Column(name = "record_type_name")
	private String recordTypeName;

	@Column(name = "reporter_name")
	private String reporterName;

	@Column(name = "record_desc")
	private String recordDesc;

	private String address;

	@Column(name = "call_num")
	private String callNum;

	@Column(name = "unit_name")
	private String unitName;

	@Column(name = "rec_state")
	private String recState;

	@Column(name = "rec_num")
	private String recNum;

	@Column(name = "street_section")
	private String streetSection;

	@Column(name = "event_src_name")
	private String eventSrcName;

	@Column(name = "task_num")
	private String taskNum;

	@Column(name = "district_name")
	private String districtName;

	@Column(name = "handle_end")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date handleEnd;

	@Column(name = "handle_deadline")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date handleDeadline;

	@Column(name = "finish_date")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date finishDate;

	@Column(name = "handle_desc")
	private String handleDesc;

	@Column(name = "supervise_domain")
	private String superviseDomain;

	@Column(name = "supervise_category")
	private String superviseCategory;

	@Column(name = "supervise_type")
	private String superviseType;

	@Column(name = "supervise_sub_type")
	private String superviseSubType;

	@Column(name = "supervise_sub_type2")
	private String superviseSubType2;

	@Column(name = "supervise_sub_type3")
	private String superviseSubType3;

	@Column(name = "supervise_sub_type4")
	private String superviseSubType4;

	private String community;

	@Column(name = "grid_name")
	private String gridName;

	@Column(name = "handle_human_name")
	private String handleHumanName;

	@Column(name = "current_act_name")
	private String currentActName;

	private String contact;

	@Column(name = "force_finish_type")
	private String forceFinishType;

	@Column(name = "deley_type_name")
	private String deleyTypeName;

	@Column(name = "gov_style_num")
	private String govStyleNum;

	@Column(name = "sx_96010_num")
	private String sx96010Num;

	@Column(name = "sx_12345_num")
	private String sx12345Num;

	@Column(name = "wx_num")
	private String wxNum;

	@Column(name = "topic_layer")
	private String topicLayer;

	@Column(name = "layer_region")
	private String layerRegion;

	@Column(name = "finish_opinion")
	private String finishOpinion;

	@Column(name = "issue_level")
	private String issueLevel;

	@Column(name = "coordinate_y")
	private float coordinateY;

	@Column(name = "coordinate_x")
	private float coordinateX;

	@Column(name = "rec_id")
	private Integer recId;

	@Column(name = "city_finish_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date cityFinishTime;

	@Column(name = "finish_type")
	private String finishType;

	@Column(name = "return_visit_flag")
	private String returnVisitFlag;

	@Column(name = "unit_visit_flag")
	private String unitVisitFlag;

	@Column(name = "unit_feedback")
	private String unitFeedback;

	@Column(name = "pleased_flag")
	private String pleasedFlag;

	@Column(name = "slove_flag")
	private String sloveFlag;

	@Column(name = "efficiency_evaluate")
	private String efficiencyEvaluate;

	@Column(name = "time_used")
	private Double timeUsed;

	@Column(name = "feedback_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date feedbackTime;

	@Column(name = "finish_flag")
	private Integer finishFlag;

	@Column(name = "callback_human")
	private String callbackHuman;

	@Column(name = "callback_status")
	private String callbackStatus;

	@Column(name = "overdue_flag")
	private Integer overdueFlag;

	@Column(name = "city_12345_flag")
	private Integer city12345Flag;

	@Transient
	private int dataTypeId;
	
	@Transient
	private Date stateDate;
	
	@Transient
	private String errorMsg = "";

	/**
	 * @return record_id
	 */
	public Integer getRecordId() {
		return recordId;
	}

	/**
	 * @param recordId
	 */
	public void setRecordId(Integer recordId) {
		this.recordId = recordId;
	}

	/**
	 * @return yessw_num
	 */
	public String getYesswNum() {
		return yesswNum;
	}

	/**
	 * @param yesswNum
	 */
	public void setYesswNum(String yesswNum) {
		this.yesswNum = yesswNum;
	}

	/**
	 * @return report_time
	 */
	public Date getReportTime() {
		return reportTime;
	}

	/**
	 * @param reportTime
	 */
	public void setReportTime(Date reportTime) {
		this.reportTime = reportTime;
	}

	/**
	 * @return street_name
	 */
	public String getStreetName() {
		return streetName;
	}

	/**
	 * @param streetName
	 */
	public void setStreetName(String streetName) {
		this.streetName = streetName;
	}

	/**
	 * @return record_type_name
	 */
	public String getRecordTypeName() {
		return recordTypeName;
	}

	/**
	 * @param recordTypeName
	 */
	public void setRecordTypeName(String recordTypeName) {
		this.recordTypeName = recordTypeName;
	}

	/**
	 * @return reporter_name
	 */
	public String getReporterName() {
		return reporterName;
	}

	/**
	 * @param reporterName
	 */
	public void setReporterName(String reporterName) {
		this.reporterName = reporterName;
	}

	/**
	 * @return record_desc
	 */
	public String getRecordDesc() {
		return recordDesc;
	}

	/**
	 * @param recordDesc
	 */
	public void setRecordDesc(String recordDesc) {
		this.recordDesc = recordDesc;
	}

	/**
	 * @return address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * @return call_num
	 */
	public String getCallNum() {
		return callNum;
	}

	/**
	 * @param callNum
	 */
	public void setCallNum(String callNum) {
		this.callNum = callNum;
	}

	/**
	 * @return unit_name
	 */
	public String getUnitName() {
		return unitName;
	}

	/**
	 * @param unitName
	 */
	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	/**
	 * @return rec_state
	 */
	public String getRecState() {
		return recState;
	}

	/**
	 * @param recState
	 */
	public void setRecState(String recState) {
		this.recState = recState;
	}

	/**
	 * @return rec_num
	 */
	public String getRecNum() {
		return recNum;
	}

	/**
	 * @param recNum
	 */
	public void setRecNum(String recNum) {
		this.recNum = recNum;
	}

	/**
	 * @return street_section
	 */
	public String getStreetSection() {
		return streetSection;
	}

	/**
	 * @param streetSection
	 */
	public void setStreetSection(String streetSection) {
		this.streetSection = streetSection;
	}

	/**
	 * @return event_src_name
	 */
	public String getEventSrcName() {
		return eventSrcName;
	}

	/**
	 * @param eventSrcName
	 */
	public void setEventSrcName(String eventSrcName) {
		this.eventSrcName = eventSrcName;
	}

	/**
	 * @return task_num
	 */
	public String getTaskNum() {
		return taskNum;
	}

	/**
	 * @param taskNum
	 */
	public void setTaskNum(String taskNum) {
		this.taskNum = taskNum;
	}

	/**
	 * @return district_name
	 */
	public String getDistrictName() {
		return districtName;
	}

	/**
	 * @param districtName
	 */
	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	/**
	 * @return handle_end
	 */
	public Date getHandleEnd() {
		return handleEnd;
	}

	/**
	 * @param handleEnd
	 */
	public void setHandleEnd(Date handleEnd) {
		this.handleEnd = handleEnd;
	}

	/**
	 * @return handle_deadline
	 */
	public Date getHandleDeadline() {
		return handleDeadline;
	}

	/**
	 * @param handleDeadline
	 */
	public void setHandleDeadline(Date handleDeadline) {
		this.handleDeadline = handleDeadline;
	}

	/**
	 * @return finish_date
	 */
	public Date getFinishDate() {
		return finishDate;
	}

	/**
	 * @param finishDate
	 */
	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}

	/**
	 * @return handle_desc
	 */
	public String getHandleDesc() {
		return handleDesc;
	}

	/**
	 * @param handleDesc
	 */
	public void setHandleDesc(String handleDesc) {
		this.handleDesc = handleDesc;
	}

	/**
	 * @return supervise_domain
	 */
	public String getSuperviseDomain() {
		return superviseDomain;
	}

	/**
	 * @param superviseDomain
	 */
	public void setSuperviseDomain(String superviseDomain) {
		this.superviseDomain = superviseDomain;
	}

	/**
	 * @return supervise_category
	 */
	public String getSuperviseCategory() {
		return superviseCategory;
	}

	/**
	 * @param superviseCategory
	 */
	public void setSuperviseCategory(String superviseCategory) {
		this.superviseCategory = superviseCategory;
	}

	/**
	 * @return supervise_type
	 */
	public String getSuperviseType() {
		return superviseType;
	}

	/**
	 * @param superviseType
	 */
	public void setSuperviseType(String superviseType) {
		this.superviseType = superviseType;
	}

	/**
	 * @return supervise_sub_type
	 */
	public String getSuperviseSubType() {
		return superviseSubType;
	}

	/**
	 * @param superviseSubType
	 */
	public void setSuperviseSubType(String superviseSubType) {
		this.superviseSubType = superviseSubType;
	}

	/**
	 * @return supervise_sub_type2
	 */
	public String getSuperviseSubType2() {
		return superviseSubType2;
	}

	/**
	 * @param superviseSubType2
	 */
	public void setSuperviseSubType2(String superviseSubType2) {
		this.superviseSubType2 = superviseSubType2;
	}

	/**
	 * @return supervise_sub_type3
	 */
	public String getSuperviseSubType3() {
		return superviseSubType3;
	}

	/**
	 * @param superviseSubType3
	 */
	public void setSuperviseSubType3(String superviseSubType3) {
		this.superviseSubType3 = superviseSubType3;
	}

	/**
	 * @return supervise_sub_type4
	 */
	public String getSuperviseSubType4() {
		return superviseSubType4;
	}

	/**
	 * @param superviseSubType4
	 */
	public void setSuperviseSubType4(String superviseSubType4) {
		this.superviseSubType4 = superviseSubType4;
	}

	/**
	 * @return community
	 */
	public String getCommunity() {
		return community;
	}

	/**
	 * @param community
	 */
	public void setCommunity(String community) {
		this.community = community;
	}

	/**
	 * @return grid_name
	 */
	public String getGridName() {
		return gridName;
	}

	/**
	 * @param gridName
	 */
	public void setGridName(String gridName) {
		this.gridName = gridName;
	}

	/**
	 * @return handle_human_name
	 */
	public String getHandleHumanName() {
		return handleHumanName;
	}

	/**
	 * @param handleHumanName
	 */
	public void setHandleHumanName(String handleHumanName) {
		this.handleHumanName = handleHumanName;
	}

	/**
	 * @return current_act_name
	 */
	public String getCurrentActName() {
		return currentActName;
	}

	/**
	 * @param currentActName
	 */
	public void setCurrentActName(String currentActName) {
		this.currentActName = currentActName;
	}

	/**
	 * @return contact
	 */
	public String getContact() {
		return contact;
	}

	/**
	 * @param contact
	 */
	public void setContact(String contact) {
		this.contact = contact;
	}

	/**
	 * @return force_finish_type
	 */
	public String getForceFinishType() {
		return forceFinishType;
	}

	/**
	 * @param forceFinishType
	 */
	public void setForceFinishType(String forceFinishType) {
		this.forceFinishType = forceFinishType;
	}

	/**
	 * @return deley_type_name
	 */
	public String getDeleyTypeName() {
		return deleyTypeName;
	}

	/**
	 * @param deleyTypeName
	 */
	public void setDeleyTypeName(String deleyTypeName) {
		this.deleyTypeName = deleyTypeName;
	}

	/**
	 * @return gov_style_num
	 */
	public String getGovStyleNum() {
		return govStyleNum;
	}

	/**
	 * @param govStyleNum
	 */
	public void setGovStyleNum(String govStyleNum) {
		this.govStyleNum = govStyleNum;
	}

	/**
	 * @return sx_96010_num
	 */
	public String getSx96010Num() {
		return sx96010Num;
	}

	/**
	 * @param sx96010Num
	 */
	public void setSx96010Num(String sx96010Num) {
		this.sx96010Num = sx96010Num;
	}

	/**
	 * @return sx_12345_num
	 */
	public String getSx12345Num() {
		return sx12345Num;
	}

	/**
	 * @param sx12345Num
	 */
	public void setSx12345Num(String sx12345Num) {
		this.sx12345Num = sx12345Num;
	}

	/**
	 * @return wx_num
	 */
	public String getWxNum() {
		return wxNum;
	}

	/**
	 * @param wxNum
	 */
	public void setWxNum(String wxNum) {
		this.wxNum = wxNum;
	}

	/**
	 * @return topic_layer
	 */
	public String getTopicLayer() {
		return topicLayer;
	}

	/**
	 * @param topicLayer
	 */
	public void setTopicLayer(String topicLayer) {
		this.topicLayer = topicLayer;
	}

	/**
	 * @return layer_region
	 */
	public String getLayerRegion() {
		return layerRegion;
	}

	/**
	 * @param layerRegion
	 */
	public void setLayerRegion(String layerRegion) {
		this.layerRegion = layerRegion;
	}

	/**
	 * @return finish_opinion
	 */
	public String getFinishOpinion() {
		return finishOpinion;
	}

	/**
	 * @param finishOpinion
	 */
	public void setFinishOpinion(String finishOpinion) {
		this.finishOpinion = finishOpinion;
	}

	/**
	 * @return issue_level
	 */
	public String getIssueLevel() {
		return issueLevel;
	}

	/**
	 * @param issueLevel
	 */
	public void setIssueLevel(String issueLevel) {
		this.issueLevel = issueLevel;
	}

	/**
	 * @return coordinate_y
	 */
	public float getCoordinateY() {
		return coordinateY;
	}

	/**
	 * @param coordinateY
	 */
	public void setCoordinateY(float coordinateY) {
		this.coordinateY = coordinateY;
	}

	/**
	 * @return coordinate_x
	 */
	public float getCoordinateX() {
		return coordinateX;
	}

	/**
	 * @param coordinateX
	 */
	public void setCoordinateX(float coordinateX) {
		this.coordinateX = coordinateX;
	}

	/**
	 * @return rec_id
	 */
	public Integer getRecId() {
		return recId;
	}

	/**
	 * @param recId
	 */
	public void setRecId(Integer recId) {
		this.recId = recId;
	}

	/**
	 * @return city_finish_time
	 */
	public Date getCityFinishTime() {
		return cityFinishTime;
	}

	/**
	 * @param cityFinishTime
	 */
	public void setCityFinishTime(Date cityFinishTime) {
		this.cityFinishTime = cityFinishTime;
	}

	/**
	 * @return finish_type
	 */
	public String getFinishType() {
		return finishType;
	}

	/**
	 * @param finishType
	 */
	public void setFinishType(String finishType) {
		this.finishType = finishType;
	}

	/**
	 * @return return_visit_flag
	 */
	public String getReturnVisitFlag() {
		return returnVisitFlag;
	}

	/**
	 * @param returnVisitFlag
	 */
	public void setReturnVisitFlag(String returnVisitFlag) {
		this.returnVisitFlag = returnVisitFlag;
	}

	/**
	 * @return unit_visit_flag
	 */
	public String getUnitVisitFlag() {
		return unitVisitFlag;
	}

	/**
	 * @param unitVisitFlag
	 */
	public void setUnitVisitFlag(String unitVisitFlag) {
		this.unitVisitFlag = unitVisitFlag;
	}

	/**
	 * @return unit_feedback
	 */
	public String getUnitFeedback() {
		return unitFeedback;
	}

	/**
	 * @param unitFeedback
	 */
	public void setUnitFeedback(String unitFeedback) {
		this.unitFeedback = unitFeedback;
	}

	/**
	 * @return pleased_flag
	 */
	public String getPleasedFlag() {
		return pleasedFlag;
	}

	/**
	 * @param pleasedFlag
	 */
	public void setPleasedFlag(String pleasedFlag) {
		this.pleasedFlag = pleasedFlag;
	}

	/**
	 * @return slove_flag
	 */
	public String getSloveFlag() {
		return sloveFlag;
	}

	/**
	 * @param sloveFlag
	 */
	public void setSloveFlag(String sloveFlag) {
		this.sloveFlag = sloveFlag;
	}

	/**
	 * @return efficiency_evaluate
	 */
	public String getEfficiencyEvaluate() {
		return efficiencyEvaluate;
	}

	/**
	 * @param efficiencyEvaluate
	 */
	public void setEfficiencyEvaluate(String efficiencyEvaluate) {
		this.efficiencyEvaluate = efficiencyEvaluate;
	}

	/**
	 * @return time_used
	 */
	public Double getTimeUsed() {
		return timeUsed;
	}

	/**
	 * @param timeUsed
	 */
	public void setTimeUsed(Double timeUsed) {
		this.timeUsed = timeUsed;
	}

	/**
	 * @return feedback_time
	 */
	public Date getFeedbackTime() {
		return feedbackTime;
	}

	/**
	 * @param feedbackTime
	 */
	public void setFeedbackTime(Date feedbackTime) {
		this.feedbackTime = feedbackTime;
	}

	public Integer getFinishFlag() {
		return finishFlag;
	}

	public void setFinishFlag(Integer finishFlag) {
		this.finishFlag = finishFlag;
	}

	public String getCallbackHuman() {
		return callbackHuman;
	}

	public void setCallbackHuman(String callbackHuman) {
		this.callbackHuman = callbackHuman;
	}

	public String getCallbackStatus() {
		return callbackStatus;
	}

	public void setCallbackStatus(String callbackStatus) {
		this.callbackStatus = callbackStatus;
	}

	public Integer getOverdueFlag() {
		return overdueFlag;
	}

	public void setOverdueFlag(Integer overdueFlag) {
		this.overdueFlag = overdueFlag;
	}

	public Integer getCity12345Flag() {
		return city12345Flag;
	}

	public void setCity12345Flag(Integer city12345Flag) {
		this.city12345Flag = city12345Flag;
	}

	public int getDataTypeId() {
		return dataTypeId;
	}

	public void setDataTypeId(int dataTypeId) {
		this.dataTypeId = dataTypeId;
	}
	
	public Date getStateDate() {
		return stateDate;
	}

	public void setStateDate(Date stateDate) {
		this.stateDate = stateDate;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

}